#	@(#)Makefile	8.1 (Berkeley) 6/4/93
# $FreeBSD: $

SHLIB_MAJOR=4
LIB=	kvm
LIBDIR?= /usr/local/share/pkvmdump/lib
INCLUDEDIR?= /usr/local/share/pkvmdump/include
MAKEOBJDIR?= ${.CURDIR}
CFLAGS+= -DLIBC_SCCS -I${.CURDIR}

SRCS=	kvm.c kvm_${MACHINE_ARCH}.c kvm_cptime.c kvm_file.c kvm_getloadavg.c \
	kvm_getswapinfo.c kvm_pcpu.c kvm_proc.c
SRCS+=	kvm_pkvmdump.c

INCS=	kvm.h pkvmdump.h

beforeinstall:
	mkdir -p "${LIBDIR}" "${INCLUDEDIR}"

.include <bsd.lib.mk>
